home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• Adventureland •
/
• World Builder •
/
SpaceAdventure •••
/
SpaceAdventure еее.rsrc
/
WDEF_32.txt
< prev
next >
Wrap
Text File
|
1992-01-01
|
21KB
|
364 lines
start:
00000000 4E56 0000 link A6, 0
00000004 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00000008 246E 000E movea.l A2, [A6 + 0xE]
0000000C 49FA 04F4 lea.l A4, [PC + 0x4F4 /* 00000502, value 0x0, cstring "" */]
00000010 47FA 04E8 lea.l A3, [PC + 0x4E8 /* 000004FA, value 0x0, cstring "" */]
00000014 302E 000C move.w D0, [A6 + 0xC]
00000018 6700 001E beq +0x20 /* 00000038 */
0000001C 0C40 0001 cmpi.w D0, 0x1
00000020 6700 0192 beq +0x194 /* 000001B4 */
00000024 0C40 0002 cmpi.w D0, 0x2
00000028 6700 01FE beq +0x200 /* 00000228 */
0000002C 0C40 0005 cmpi.w D0, 0x5
00000030 6700 02B4 beq +0x2B6 /* 000002E6 */
00000034 4EFA 0308 jmp [PC + 0x308 /* 0000033E */]
label00000038:
00000038 102A 006E move.b D0, [A2 + 0x6E]
0000003C 6700 0300 beq +0x302 /* 0000033E */
00000040 4EBA 0468 jsr [PC + 0x468 /* 000004AA */]
00000044 0C2E 0004 000B cmpi.b [A6 + 0xB], 0x4
0000004A 6700 0154 beq +0x156 /* 000001A0 */
0000004E 4AAE 0008 tst.l [A6 + 0x8]
00000052 6600 02EA bne +0x2EC /* 0000033E */
00000056 4EBA 0372 jsr [PC + 0x372 /* 000003CA */]
0000005A 4EBA 048A jsr [PC + 0x48A /* 000004E6 */]
0000005E 4EBA 047C jsr [PC + 0x47C /* 000004DC */]
00000062 4A2A 006F tst.b [A2 + 0x6F]
00000066 6700 000E beq +0x10 /* 00000076 */
0000006A 566C 0000 addq.w [A4 + 0x0], 3
0000006E 576C 0004 subq.w [A4 + 0x4], 3
00000072 4EBA 047C jsr [PC + 0x47C /* 000004F0 */]
label00000076:
00000076 082E 0001 0013 btst.b [A6 + 0x13], 0x1
0000007C 6600 0022 bne +0x24 /* 000000A0 */
00000080 4EBA 036E jsr [PC + 0x36E /* 000003F0 */]
00000084 4EBA 0460 jsr [PC + 0x460 /* 000004E6 */]
00000088 4EBA 0452 jsr [PC + 0x452 /* 000004DC */]
0000008C 4A2A 006F tst.b [A2 + 0x6F]
00000090 6700 000E beq +0x10 /* 000000A0 */
00000094 566C 0000 addq.w [A4 + 0x0], 3
00000098 576C 0004 subq.w [A4 + 0x4], 3
0000009C 4EBA 0452 jsr [PC + 0x452 /* 000004F0 */]
label000000A0:
000000A0 082E 0002 0013 btst.b [A6 + 0x13], 0x2
000000A6 6700 005A beq +0x5C /* 00000102 */
000000AA 4EBA 0392 jsr [PC + 0x392 /* 0000043E */]
000000AE 4EBA 0436 jsr [PC + 0x436 /* 000004E6 */]
000000B2 4EBA 0428 jsr [PC + 0x428 /* 000004DC */]
000000B6 302C 0002 move.w D0, [A4 + 0x2]
000000BA 916C 0006 sub.w [A4 + 0x6], D0
000000BE 046C 000A 0006 subi.w [A4 + 0x6], 0xA /* '\n' */
000000C4 4243 clr.w D3
000000C6 246A 0086 movea.l A2, [A2 + 0x86]
000000CA 2052 movea.l A0, [A2]
000000CC 1610 move.b D3, [A0]
label000000CE:
000000CE 4267 clr.w -[A7]
000000D0 2F12 move.l -[A7], [A2]
000000D2 3F3C 0001 move.w -[A7], 0x1
000000D6 3F03 move.w -[A7], D3
000000D8 A886 syscall TextWidth
000000DA 301F move.w D0, [A7]+
000000DC B06C 0006 cmp.w D0, [A4 + 0x6]
000000E0 5FCB FFEC dble D3, -0x16 /* 000000CE */
000000E4 2F2C 0000 move.l -[A7], [A4 + 0x0]
000000E8 066F 000D 0000 addi.w [A7 + 0x0], 0xD /* '\r' */
000000EE 5A6F 0002 addq.w [A7 + 0x2], 5
000000F2 A893 syscall MoveTo
000000F4 2F12 move.l -[A7], [A2]
000000F6 3F3C 0001 move.w -[A7], 0x1
000000FA 3F03 move.w -[A7], D3
000000FC A885 syscall DrawText
000000FE 246E 000E movea.l A2, [A6 + 0xE]
label00000102:
00000102 4EBA 0300 jsr [PC + 0x300 /* 00000404 */]
00000106 4EBA 03DE jsr [PC + 0x3DE /* 000004E6 */]
0000010A 4EBA 03D0 jsr [PC + 0x3D0 /* 000004DC */]
0000010E 4A2A 006F tst.b [A2 + 0x6F]
00000112 6700 000E beq +0x10 /* 00000122 */
00000116 566C 0002 addq.w [A4 + 0x2], 3
0000011A 576C 0006 subq.w [A4 + 0x6], 3
0000011E 4EBA 03D0 jsr [PC + 0x3D0 /* 000004F0 */]
label00000122:
00000122 082E 0000 0013 btst.b [A6 + 0x13], 0x0
00000128 6600 0022 bne +0x24 /* 0000014C */
0000012C 4EBA 02FC jsr [PC + 0x2FC /* 0000042A */]
00000130 4EBA 03B4 jsr [PC + 0x3B4 /* 000004E6 */]
00000134 4EBA 03A6 jsr [PC + 0x3A6 /* 000004DC */]
00000138 4A2A 006F tst.b [A2 + 0x6F]
0000013C 6700 000E beq +0x10 /* 0000014C */
00000140 566C 0002 addq.w [A4 + 0x2], 3
00000144 576C 0006 subq.w [A4 + 0x6], 3
00000148 4EBA 03A6 jsr [PC + 0x3A6 /* 000004F0 */]
label0000014C:
0000014C 4EBA 0212 jsr [PC + 0x212 /* 00000360 */]
00000150 4EBA 0394 jsr [PC + 0x394 /* 000004E6 */]
00000154 4EBA 0386 jsr [PC + 0x386 /* 000004DC */]
00000158 4EBA 0228 jsr [PC + 0x228 /* 00000382 */]
0000015C 4EBA 0388 jsr [PC + 0x388 /* 000004E6 */]
00000160 4EBA 037A jsr [PC + 0x37A /* 000004DC */]
00000164 4EBA 0234 jsr [PC + 0x234 /* 0000039A */]
00000168 4EBA 037C jsr [PC + 0x37C /* 000004E6 */]
0000016C 4EBA 036E jsr [PC + 0x36E /* 000004DC */]
00000170 4EBA 0240 jsr [PC + 0x240 /* 000003B2 */]
00000174 4EBA 0370 jsr [PC + 0x370 /* 000004E6 */]
00000178 4EBA 0362 jsr [PC + 0x362 /* 000004DC */]
0000017C 4A2A 0070 tst.b [A2 + 0x70]
00000180 6700 01BC beq +0x1BE /* 0000033E */
00000184 4A2A 006F tst.b [A2 + 0x6F]
00000188 6700 01B4 beq +0x1B6 /* 0000033E */
0000018C 4EBA 01D2 jsr [PC + 0x1D2 /* 00000360 */]
00000190 303C 0005 move.w D0, 0x5
00000194 4EBA 01B8 jsr [PC + 0x1B8 /* 0000034E */]
00000198 4EBA 0342 jsr [PC + 0x342 /* 000004DC */]
0000019C 4EFA 01A0 jmp [PC + 0x1A0 /* 0000033E */]
label000001A0:
000001A0 4EBA 01BE jsr [PC + 0x1BE /* 00000360 */]
000001A4 303C 0005 move.w D0, 0x5
000001A8 4EBA 01A4 jsr [PC + 0x1A4 /* 0000034E */]
000001AC 4EBA 0342 jsr [PC + 0x342 /* 000004F0 */]
000001B0 4EFA 018C jmp [PC + 0x18C /* 0000033E */]
label000001B4:
000001B4 2D7C 0000 0002 0014 move.l [A6 + 0x14], 0x2
000001BC 4267 clr.w -[A7]
000001BE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000001C2 2F2A 0076 move.l -[A7], [A2 + 0x76]
000001C6 A8E8 syscall PtInRgn
000001C8 101F move.b D0, [A7]+
000001CA 6600 003E bne +0x40 /* 0000020A */
000001CE 4A2A 006F tst.b [A2 + 0x6F]
000001D2 6700 016A beq +0x16C /* 0000033E */
000001D6 4EBA 02D2 jsr [PC + 0x2D2 /* 000004AA */]
000001DA 4EBA 0184 jsr [PC + 0x184 /* 00000360 */]
000001DE 303C 0005 move.w D0, 0x5
000001E2 4EBA 016A jsr [PC + 0x16A /* 0000034E */]
000001E6 4EBA 02E6 jsr [PC + 0x2E6 /* 000004CE */]
000001EA 6600 0028 bne +0x2A /* 00000214 */
000001EE 303C FFFB move.w D0, 0xFFFB
000001F2 4EBA 015A jsr [PC + 0x15A /* 0000034E */]
000001F6 4EBA 018A jsr [PC + 0x18A /* 00000382 */]
000001FA 4EBA 019E jsr [PC + 0x19E /* 0000039A */]
000001FE 4EBA 02CE jsr [PC + 0x2CE /* 000004CE */]
00000202 6600 001A bne +0x1C /* 0000021E */
00000206 4EFA 0136 jmp [PC + 0x136 /* 0000033E */]
label0000020A:
0000020A 1D7C 0001 0017 move.b [A6 + 0x17], 0x1
00000210 4EFA 012C jmp [PC + 0x12C /* 0000033E */]
label00000214:
00000214 1D7C 0004 0017 move.b [A6 + 0x17], 0x4
0000021A 4EFA 0122 jmp [PC + 0x122 /* 0000033E */]
label0000021E:
0000021E 1D7C 0003 0017 move.b [A6 + 0x17], 0x3
00000224 4EFA 0118 jmp [PC + 0x118 /* 0000033E */]
label00000228:
00000228 4EBA 0280 jsr [PC + 0x280 /* 000004AA */]
0000022C 2F2A 0076 move.l -[A7], [A2 + 0x76]
00000230 A8D9 syscall DisposRgn/DisposeRgn
00000232 42A7 clr.l -[A7]
00000234 A8D8 syscall NewRgn
00000236 255F 0076 move.l [A2 + 0x76], [A7]+
0000023A A8DA syscall OpenRgn
0000023C 296B 0000 0000 move.l [A4 + 0x0], [A3 + 0x0]
00000242 296B 0004 0004 move.l [A4 + 0x4], [A3 + 0x4]
00000248 066C 000E 0000 addi.w [A4 + 0x0], 0xE
0000024E 066C 000E 0002 addi.w [A4 + 0x2], 0xE
00000254 082E 0000 0013 btst.b [A6 + 0x13], 0x0
0000025A 6600 0008 bne +0xA /* 00000264 */
0000025E 046C 000E 0006 subi.w [A4 + 0x6], 0xE
label00000264:
00000264 082E 0001 0013 btst.b [A6 + 0x13], 0x1
0000026A 6600 0008 bne +0xA /* 00000274 */
0000026E 046C 000E 0004 subi.w [A4 + 0x4], 0xE
label00000274:
00000274 4EBA 0266 jsr [PC + 0x266 /* 000004DC */]
00000278 2F2A 0076 move.l -[A7], [A2 + 0x76]
0000027C A8DB syscall CloseRgn
0000027E 2F2A 0072 move.l -[A7], [A2 + 0x72]
00000282 487A 0276 pea.l [PC + 0x276 /* 000004FA, value 0x0, cstring "" */]
00000286 A8DF syscall RectRgn
00000288 42A7 clr.l -[A7]
0000028A A8D8 syscall NewRgn
0000028C 261F move.l D3, [A7]+
0000028E A8DA syscall OpenRgn
00000290 4EBA 00CE jsr [PC + 0xCE /* 00000360 */]
00000294 4EBA 0246 jsr [PC + 0x246 /* 000004DC */]
00000298 4EBA 00E8 jsr [PC + 0xE8 /* 00000382 */]
0000029C 4EBA 023E jsr [PC + 0x23E /* 000004DC */]
000002A0 4EBA 00F8 jsr [PC + 0xF8 /* 0000039A */]
000002A4 4EBA 0236 jsr [PC + 0x236 /* 000004DC */]
000002A8 4EBA 0108 jsr [PC + 0x108 /* 000003B2 */]
000002AC 4EBA 022E jsr [PC + 0x22E /* 000004DC */]
000002B0 082E 0002 0013 btst.b [A6 + 0x13], 0x2
000002B6 6700 000A beq +0xC /* 000002C2 */
000002BA 4EBA 0182 jsr [PC + 0x182 /* 0000043E */]
000002BE 4EBA 021C jsr [PC + 0x21C /* 000004DC */]
label000002C2:
000002C2 2F03 move.l -[A7], D3
000002C4 A8DB syscall CloseRgn
000002C6 2F2A 0072 move.l -[A7], [A2 + 0x72]
000002CA 2F03 move.l -[A7], D3
000002CC 2F2A 0072 move.l -[A7], [A2 + 0x72]
000002D0 A8E5 syscall UnionRgn
000002D2 2F2A 0076 move.l -[A7], [A2 + 0x76]
000002D6 2F03 move.l -[A7], D3
000002D8 2F2A 0076 move.l -[A7], [A2 + 0x76]
000002DC A8E6 syscall DiffRgn
000002DE 2F03 move.l -[A7], D3
000002E0 A8D9 syscall DisposRgn/DisposeRgn
000002E2 4EFA 005A jmp [PC + 0x5A /* 0000033E */]
label000002E6:
000002E6 286E 0008 movea.l A4, [A6 + 0x8]
000002EA 302C 0006 move.w D0, [A4 + 0x6]
000002EE 906C 0002 sub.w D0, [A4 + 0x2]
000002F2 0C40 0040 cmpi.w D0, 0x40 /* '@' */
000002F6 6A00 000E bpl +0x10 /* 00000306 */
000002FA 396C 0002 0006 move.w [A4 + 0x6], [A4 + 0x2]
00000300 066C 0040 0006 addi.w [A4 + 0x6], 0x40 /* '@' */
label00000306:
00000306 302C 0004 move.w D0, [A4 + 0x4]
0000030A 906C 0000 sub.w D0, [A4 + 0x0]
0000030E 0C40 0040 cmpi.w D0, 0x40 /* '@' */
00000312 6A00 000E bpl +0x10 /* 00000322 */
00000316 396C 0000 0004 move.w [A4 + 0x4], [A4 + 0x0]
0000031C 066C 0040 0004 addi.w [A4 + 0x4], 0x40 /* '@' */
label00000322:
00000322 4EBA 01B8 jsr [PC + 0x1B8 /* 000004DC */]
00000326 303C 000E move.w D0, 0xE
0000032A 4EBA 0022 jsr [PC + 0x22 /* 0000034E */]
0000032E 4EBA 01AC jsr [PC + 0x1AC /* 000004DC */]
00000332 303C FFF2 move.w D0, 0xFFF2
00000336 4EBA 0016 jsr [PC + 0x16 /* 0000034E */]
0000033A 4EFA 0002 jmp [PC + 0x2 /* 0000033E */]
label0000033E:
0000033E 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00000342 4E5E unlink A6
00000344 205F movea.l A0, [A7]+
00000346 DFFC 0000 000C add.l A7, 0xC
0000034C 4ED0 jmp [A0]
fn0000034E:
0000034E D16C 0000 add.w [A4 + 0x0], D0
00000352 D16C 0002 add.w [A4 + 0x2], D0
00000356 916C 0004 sub.w [A4 + 0x4], D0
0000035A 916C 0006 sub.w [A4 + 0x6], D0
0000035E 4E75 rts
fn00000360:
00000360 296B 0000 0000 move.l [A4 + 0x0], [A3 + 0x0]
00000366 296B 0000 0004 move.l [A4 + 0x4], [A3 + 0x0]
0000036C 556C 0000 subq.w [A4 + 0x0], 2
00000370 556C 0002 subq.w [A4 + 0x2], 2
00000374 066C 0010 0004 addi.w [A4 + 0x4], 0x10
0000037A 066C 0010 0006 addi.w [A4 + 0x6], 0x10
00000380 4E75 rts
fn00000382:
00000382 396B 0006 0002 move.w [A4 + 0x2], [A3 + 0x6]
00000388 396B 0006 0006 move.w [A4 + 0x6], [A3 + 0x6]
0000038E 046C 0010 0002 subi.w [A4 + 0x2], 0x10
00000394 546C 0006 addq.w [A4 + 0x6], 2
00000398 4E75 rts
fn0000039A:
0000039A 396B 0004 0000 move.w [A4 + 0x0], [A3 + 0x4]
000003A0 396B 0004 0004 move.w [A4 + 0x4], [A3 + 0x4]
000003A6 046C 0010 0000 subi.w [A4 + 0x0], 0x10
000003AC 546C 0004 addq.w [A4 + 0x4], 2
000003B0 4E75 rts
fn000003B2:
000003B2 396B 0002 0002 move.w [A4 + 0x2], [A3 + 0x2]
000003B8 396B 0002 0006 move.w [A4 + 0x6], [A3 + 0x2]
000003BE 556C 0002 subq.w [A4 + 0x2], 2
000003C2 066C 0010 0006 addi.w [A4 + 0x6], 0x10
000003C8 4E75 rts
fn000003CA:
000003CA 296B 0000 0000 move.l [A4 + 0x0], [A3 + 0x0]
000003D0 396B 0000 0004 move.w [A4 + 0x4], [A3 + 0x0]
000003D6 396B 0006 0006 move.w [A4 + 0x6], [A3 + 0x6]
000003DC 066C 000F 0002 addi.w [A4 + 0x2], 0xF
000003E2 066C 000E 0004 addi.w [A4 + 0x4], 0xE
000003E8 046C 000F 0006 subi.w [A4 + 0x6], 0xF
000003EE 4E75 rts
fn000003F0:
000003F0 396B 0004 0000 move.w [A4 + 0x0], [A3 + 0x4]
000003F6 396B 0004 0004 move.w [A4 + 0x4], [A3 + 0x4]
000003FC 046C 000E 0000 subi.w [A4 + 0x0], 0xE
00000402 4E75 rts
fn00000404:
00000404 296B 0000 0000 move.l [A4 + 0x0], [A3 + 0x0]
0000040A 396B 0004 0004 move.w [A4 + 0x4], [A3 + 0x4]
00000410 396B 0002 0006 move.w [A4 + 0x6], [A3 + 0x2]
00000416 066C 000F 0000 addi.w [A4 + 0x0], 0xF
0000041C 046C 000F 0004 subi.w [A4 + 0x4], 0xF
00000422 066C 000E 0006 addi.w [A4 + 0x6], 0xE
00000428 4E75 rts
fn0000042A:
0000042A 396B 0006 0002 move.w [A4 + 0x2], [A3 + 0x6]
00000430 396B 0006 0006 move.w [A4 + 0x6], [A3 + 0x6]
00000436 046C 000E 0002 subi.w [A4 + 0x2], 0xE
0000043C 4E75 rts
fn0000043E:
0000043E 396B 0000 0000 move.w [A4 + 0x0], [A3 + 0x0]
00000444 556C 0000 subq.w [A4 + 0x0], 2
00000448 396B 0000 0004 move.w [A4 + 0x4], [A3 + 0x0]
0000044E 066C 0010 0004 addi.w [A4 + 0x4], 0x10
00000454 302A 008A move.w D0, [A2 + 0x8A]
00000458 0640 002E addi.w D0, 0x2E /* '.' */
0000045C 322B 0006 move.w D1, [A3 + 0x6]
00000460 926B 0002 sub.w D1, [A3 + 0x2]
00000464 B240 cmp.w D1, D0
00000466 6A00 001C bpl +0x1E /* 00000484 */
0000046A 396B 0002 0002 move.w [A4 + 0x2], [A3 + 0x2]
00000470 396B 0006 0006 move.w [A4 + 0x6], [A3 + 0x6]
00000476 066C 0012 0002 addi.w [A4 + 0x2], 0x12
0000047C 046C 0012 0006 subi.w [A4 + 0x6], 0x12
00000482 4E75 rts
label00000484:
00000484 E249 lsr D1.w, 1
00000486 D26B 0002 add.w D1, [A3 + 0x2]
0000048A 3941 0006 move.w [A4 + 0x6], D1
0000048E 3941 0002 move.w [A4 + 0x2], D1
00000492 0440 0024 subi.w D0, 0x24 /* '$' */
00000496 E248 lsr D0.w, 1
00000498 6400 0006 bcc +0x8 /* 000004A0 */
0000049C 526C 0006 addq.w [A4 + 0x6], 1
label000004A0:
000004A0 D16C 0006 add.w [A4 + 0x6], D0
000004A4 916C 0002 sub.w [A4 + 0x2], D0
000004A8 4E75 rts
fn000004AA:
000004AA 276A 0014 0004 move.l [A3 + 0x4], [A2 + 0x14]
000004B0 302A 0008 move.w D0, [A2 + 0x8]
000004B4 4440 neg.w D0
000004B6 322A 000A move.w D1, [A2 + 0xA]
000004BA 4441 neg.w D1
000004BC 3740 0000 move.w [A3 + 0x0], D0
000004C0 3741 0002 move.w [A3 + 0x2], D1
000004C4 D16B 0004 add.w [A3 + 0x4], D0
000004C8 D36B 0006 add.w [A3 + 0x6], D1
000004CC 4E75 rts
fn000004CE:
000004CE 4267 clr.w -[A7]
000004D0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000004D4 2F0C move.l -[A7], A4
000004D6 A8AD syscall PtInRect
000004D8 101F move.b D0, [A7]+
000004DA 4E75 rts
fn000004DC:
000004DC 1F3C 0000 move.b -[A7], 0x0
000004E0 2F0C move.l -[A7], A4
000004E2 A8A0 syscall StdRect
000004E4 4E75 rts
fn000004E6:
000004E6 1F3C 0002 move.b -[A7], 0x2
000004EA 2F0C move.l -[A7], A4
000004EC A8A0 syscall StdRect
000004EE 4E75 rts
fn000004F0:
000004F0 1F3C 0003 move.b -[A7], 0x3
000004F4 2F0C move.l -[A7], A4
000004F6 A8A0 syscall StdRect
000004F8 4E75 rts
000004FA 0000 0000 ori.b D0, 0x0
000004FE 0000 0000 ori.b D0, 0x0
00000502 0000 0000 ori.b D0, 0x0
00000506 0000 0000 ori.b D0, 0x0
0000050A 0000 0000 ori.b D0, 0x0